package org.jeecg.modules.monitoring.j_monitoring.mapper;
import java.util.Collection;
import java.util.Date;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.monitoring.j_monitoring.entity.StorageAddLog;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * @Description: storage_add_log
 * @Author: wangd
 * @Date:   2023-12-17
 * @Version: V1.0
 */
public interface StorageAddLogMapper extends BaseMapper<StorageAddLog> {

    List<StorageAddLog> selectByStorageId(@Param("storageId") String storageId);

    List<StorageAddLog> selectLastTimeData(@Param("time") String time);


    int deleteByRecordTimeAndStorageId(@Param("recordTime") String recordTime, @Param("storageId") String storageId);

    int insertBatch(@Param("storageAddLogCollection") Collection<StorageAddLog> storageAddLogCollection);
}
